package com.lzm.back.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @TableName event 具体赛事
 */
@Data
public class Event {
    private Integer id;

    private String name;

    private String description;

    //处理赛事与类目的关联
    private Integer categoryId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;


    private String location;

    private Status status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}